﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using VSS_AHT.Properties;

namespace VSSAHT
{
    public class CompanyInfo
    {

        #region Name
        public string Name
        {
            get { return Settings.Default.CompanyName; }
            set
            {
                if (Settings.Default.CompanyName != value)
                {
                    Settings.Default.CompanyName = value;
                }
            }
        }
        #endregion

        #region Address
        public string Address
        {
            get { return Settings.Default.CompanyAddress; }
            set
            {
                if (Settings.Default.CompanyAddress != value)
                {
                    Settings.Default.CompanyAddress = value;
                }
            }
        }
        #endregion

        #region StoragePath
        public string StorePath
        {
            get { return Settings.Default.storagePath; }
            set
            {
                if (Settings.Default.storagePath != value)
                {
                    Settings.Default.storagePath = value;
                }
            }
        }
        #endregion

        #region VehicleStation
        public string VehicleStation
        {
            get { return Settings.Default.VehicleStation; }
            set
            {
                if (Settings.Default.VehicleStation != value)
                {
                    Settings.Default.VehicleStation = value;
                }
            }
        }
        #endregion

    }
}
